<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String path1 = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
	<title>Yonyou NC 电子商务采购平台</title>
	<meta http-equiv="x-ua-compatible" content="ie=7" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="<%=path1%>/css/main.css" rel="stylesheet" type="text/css" />
	<script language="javascript" type="text/javascript"
		src="<%=path1%>/js/include.js"></script>
</head>

<body class="fullbody">
	<div id="header" class="headerdiv">
		<%@ include file="/WEB-INF/includes/decorators/bodytop.jsp" %>
	</div>
	<div class="main">
		<div class="margin10A">
		</div>
		<div class="content">
			<div class="navposition">
				当前位置：
				<a href="<%=path1%>/infopub/pubmain" class="linkstyle">首页</a>&nbsp;&gt;&gt;&nbsp;
				<a href="<%=path1%>/infopub/viewlawrule" class="linkstyle">政策法规</a>&nbsp;&gt;&gt;&nbsp;
				<span class="curposition">正文</span>
			</div>
			<div class="spliter">
			</div>
			<div class="subpage_title">
				<div class="title_index">
					<img src="<%=path1%>/images/common/dot03.gif" alt="" border="0" />
					&nbsp;正文
				</div>
				<div class="rollback">
					<a href="<%=path1%>/infopub/viewlawrule" class="linkstyle">&lt;&lt;&nbsp;返回列表</a>
				</div>
			</div>
			<div class="spliter">
			</div>
			<div class="subpage_content">
				<div class="margin30">
				</div>
				<div class="subpage_content_title">
					<center>
						${form.infotitle}
					</center>
				</div>
				<div class="margin20">
				</div>
				<div class="subpage_content_subtitle">
					<center>
						发表时间：${form.pubtime}
					</center>
				</div>
				<div class="margin50">
				</div>
				<div class="subpage_content_context">
					${form.info_content}
				</div>
				<div class="margin50">
				</div>
				<div class="subpage_content_attachment">
					<table>
						<tr>
							<form action="" method="post" name="downfile1">
								<input type="hidden" name="pk_file" />
								<input type="hidden" name="file_name" />
							</form>
							<td>
								相关附件：
								<c:if test="${null!=attForm}">
									<c:forEach items="${attForm}" var="pur">
										<a class="linkstyle2"> <!--<td>${pur.file_name}</td>
										-->
											<tr>
												<td>
													<a href="#"
														onclick="downloadFile('${pur.pk_file}','${pur.file_name}');"}>${pur.file_name}</a>

												</td>
											</tr> </a>
									</c:forEach>
								</c:if>
							</td>
							<td>
							</td>
						</tr>
						<tr>
							<td>
								&nbsp;
							</td>
							<td>
							</td>
						</tr>
					</table>
				</div>


			</div>
			<div class="margin50">
			</div>
		</div>
		<div class="spliter">
		</div>
		
		<div class="margin30">
		</div>
	</div>
	<div id="footer" class="footerdiv">
		<%@ include file="/WEB-INF/includes/decorators/footer.jsp"%>
	</div>
	<script language="javascript" type="text/javascript">
        loadHF(); 
        //下载文件
			function downloadFile(pk_file,file_name){
				
					//采购文件
					document.downfile1.pk_file.value = pk_file;
					document.downfile1.file_name.value = file_name;
					document.downfile1.action="<%=path1%>/ebvpfile/download";
					document.downfile1.submit();
				
			}
	</script>
</body>
